package net.jblog.business.facade.impl;

import java.util.List;

import net.jblog.business.dao.CategoryDao;
import net.jblog.business.dao.PostDao;
import net.jblog.business.facade.ModuleFacade;

public class ModuleFacadeImpl implements ModuleFacade {
	private PostDao postDao;
	private CategoryDao categoryDao;
	
	public List<Object[]> findMonthlyArchives() {
		return getPostDao().findMonthlyArchives();
	}
	
	public PostDao getPostDao() {
		return postDao;
	}
	public void setPostDao(PostDao postDao) {
		this.postDao = postDao;
	}
	public CategoryDao getCategoryDao() {
		return categoryDao;
	}
	public void setCategoryDao(CategoryDao categoryDao) {
		this.categoryDao = categoryDao;
	}
	
	
}
